package com.bjc.core.service;

import java.util.List;

import com.bjc.base.bean.TreeVO;
import com.bjc.base.core.IBaseService;
import com.bjc.core.bean.request.DepartmentReqVO;
import com.bjc.core.bean.request.RolePermissionReqVO;
import com.bjc.core.bean.response.DepartmentVO;
import com.bjc.core.bean.response.DimensionItemDataVO;

/**
 * 部门Service
 * 
 * @author 许自辉
 * @date 2017年8月21日
 */

public interface IDepartmentService extends IBaseService<DepartmentReqVO, DepartmentVO> {

	/**
	 * 查询该维度未拥有数据范围的数据
	 */
	List<DimensionItemDataVO> getDimensionItemData(DepartmentReqVO dataReqVO);

	/**
	 * 查询部门树
	 */
	List<TreeVO> getTree(RolePermissionReqVO rolepermissionReqVO);
	
	/**
	 * 查询部门下属部门
	 */
	List<Integer> getChildDept(String workId);
	
}
